<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Attachment extends Model {
  public $timestamps = false;

  public $fillable = [ 'md5', 'filename', 'ext_name', 'size', 'mime_type', 'url' ];

  /**
   * The attributes that should be hidden for arrays.
   *
   * @var array
   */
  protected $hidden = [
    'md5',
    'mime_type',
    'filename',
    'size',
  ];

}
